package com.xuantian.baoming.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuantian.baoming.entity.OrderInfo;
import com.xuantian.baoming.enums.OrderStatus;

import java.util.List;

public interface OrderInfoService extends IService<OrderInfo> {


    void updateStatusByOrderNo(String orderNo, OrderStatus success);

    String getOrderStatus(String orderNo);

    List<OrderInfo> getNoPayOrderByDuration(int i);

    OrderInfo  createOrder(OrderInfo orderInfo);

    OrderInfo selectOrderByContact(String contact, String name);
}
